import request from "@/utils/request"
export function getChoose() {
  return request({
    method: 'GET',
    url: '/choose/getchoose'
  })
}
export function searchCourse(params) {
  return request({
    method: 'GET',
    url: '/choose/searchcourse',
    params
  })
}
export function addSC(data) {
  return request({
    method: 'POST',
    url: '/choose/addsc',
    data
  })
}
export function getMy() {
  return request({
    method: 'GET',
    url: '/choose/getmy'
  })
}
export function deleteStuC(data) {
  return request({
    method: 'POST',
    url: '/choose/deletesc',
    data
  })
}
export function getPreCourse(params) {
  return request({
    method: 'GET',
    url: '/choose/getprecourse',
    params
  })
}
export function getIs(params) {
  return request({
    method: 'GET',
    url: '/choose/getis',
    params
  })
}